home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Cafe 3
/
Visual Cafe 3.ISO
/
Vcafe
/
Sample.bin
/
InboxWindow.java
< prev
next >
Wrap
Text File
|
1998-11-01
|
3KB
|
74 lines
import java.awt.*;
import com.sun.java.swing.*;
import com.symantec.itools.swing.models.StringTreeModel;
public class InboxWindow extends com.sun.java.swing.JInternalFrame
{
public InboxWindow()
{
// This code is automatically generated by Visual Cafe when you add
// components to the visual environment. It instantiates and initializes
// the components. To modify the code, only use code syntax that matches
// what Visual Cafe can generate, or Visual Cafe may be unable to back
// parse your Java file into its visual environment.
//{{INIT_CONTROLS
setIconifiable(true);
setMaximizable(true);
setTitle("In Box");
setResizable(true);
setClosable(true);
setDefaultCloseOperation(com.sun.java.swing.JFrame.DISPOSE_ON_CLOSE);
getContentPane().setLayout(new BorderLayout(0,0));
setSize(405,305);
{
String[] tempString = new String[29];
tempString[0] = "Unreal Mail";
tempString[1] = " Buy Stuff Now";
tempString[2] = " Read Me Now";
tempString[3] = " Hot Offer";
tempString[4] = " Re: Re: Thank You";
tempString[5] = " Fwd: Good Joke";
tempString[6] = "Personal";
tempString[7] = " Hi";
tempString[8] = " Good to hear from you";
tempString[9] = " Re: Thank You";
tempString[10] = "Business";
tempString[11] = " Thanks for your order";
tempString[12] = " Price Quote";
tempString[13] = " Here is the invoice";
tempString[14] = " Project Metal: delivered on time";
tempString[15] = " Your salary raise approved";
tempString[16] = "Spam";
tempString[17] = " Buy Now";
tempString[18] = " Make $$$ Now";
tempString[19] = " HOT HOT HOT";
tempString[20] = " Buy Now";
tempString[21] = " Don't Miss This";
tempString[22] = " Opportunity in Precious Metals";
tempString[23] = " Buy Now";
tempString[24] = " Last Chance";
tempString[25] = " Buy Now";
tempString[26] = " Make $$$ Now";
tempString[27] = " To Hot To Handle";
tempString[28] = " I'm waiting for your call";
stringTreeModel1.setItems(tempString);
}
//$$ stringTreeModel1.move(0,0);
JScrollPane1.setOpaque(true);
getContentPane().add("Center", JScrollPane1);
JScrollPane1.setBounds(0,0,405,305);
JTree1.setModel(stringTreeModel1);
JScrollPane1.getViewport().add(JTree1);
JTree1.setBounds(0,0,402,302);
//}}
}
//{{DECLARE_CONTROLS
com.symantec.itools.swing.models.StringTreeModel stringTreeModel1 = new com.symantec.itools.swing.models.StringTreeModel();
com.sun.java.swing.JScrollPane JScrollPane1 = new com.sun.java.swing.JScrollPane();
com.sun.java.swing.JTree JTree1 = new com.sun.java.swing.JTree();
//}}
}